package com.holystone.orca.sys.service;

import java.util.List;
import java.util.Map;

import com.holystone.orca.base.service.IBaseService;
import com.holystone.orca.sys.model.StaffVO;
import com.holystone.orca.sys.mybatis.model.SysStaff;

public interface ISysStaffService extends IBaseService<SysStaff> {
	
	public boolean insertStaffByPersonId(Map<Object, String> map) throws Exception;
	
	public boolean updateStaffByPersonId(Map<Object, String> map) throws Exception;
	
	public int selectDepIdByPersonId(int personId) throws Exception;
	
	public boolean deleteStaffByPersonId(int personId);
	
	public boolean delSelectStaff(List<Integer> list) throws Exception;
	
	public List<StaffVO> selectBelowDepStaff(Integer depId, int staffId) throws Exception;

    List<Integer> selectDepIdsByPersonId(String userId);
}
